quietly {
    cap log close
    log using "C:\Users\bahet\Box Sync\PushButtonReplication\NepalTeacherTrainingEvaluation\Codebook", text replace
    cd "C:\Users\bahet\Box Sync\PushButtonReplication\NepalTeacherTrainingEvaluation\Datasets\"
	local filelist: dir . files "*.dta"
	foreach file in `filelist' {
	    use "`file'", clear
		noisily codebook, header
	}
		log close	
}